package com.system.outpatientsystem.pojo;


import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Doctor {

    @NotNull
    private Integer id;
    @NotEmpty
    private String name;
    private Integer age;
    @NotEmpty
    private String gender;
    @NotEmpty
    private String phone;
    //    @JsonIgnore //转为json字符串时忽略这个属性
    private String password;

    private String office;

    private String introduction;

    private String position;
}
